﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Timers;

namespace Proxy.Comm.Server
{
    /// <summary>
    /// 本地服务的定时器
    /// </summary>
   public class localRunningTimers
    {
        localRunServer instanceserver;

        /// <summary>
        /// 心跳报告
        /// </summary>
        private object aliveLockobj = new object();
        private bool sayaliveNowDo = false;
        private Timer sayAliveTimer;
        /// <summary>
        /// 广播定时器
        /// </summary>
        private object bcLockobj = new object();
        private bool bcNowDo = false;
        private Timer broadCastTimer;
        /// <summary>
        /// actionMessage 处理器
        /// </summary>
        private object actionLockobj = new object();
        private bool actionPNowDo = false;
        private Timer actionDoTimer;
        /// <summary>
        /// 检查在线（频度域心跳相同）
        /// </summary>
        private object checkAliveLockObj = new object();
        private bool checkAliveNowDo = false;
        private Timer checkAliveTimer;

        public localRunningTimers(localRunServer rserver)
        {
            instanceserver = rserver;
        }
    }
}
